<{extends file='layout_uc.html'}>
<{block name='body'}>
<div class="uc_title m_10">
        <label class="current"><span>我的建议</span></label>
    </div>
    <table class="list_table m_10" width="100%" cellpadding="0" cellspacing="0">
        <col />
        <col width="160px" />
        <col width="80px" />
        <col width="80px" />
        <thead><tr><th>建议主题</th><th>添加时间</th><th>状态</th><th>查看</th></tr></thead>
        <tbody>
                        <tr id='show_msg' class="show" style="display:none">
            <td colspan="4">
			<i class="close f_r" onclick='$(this).parent().parent().css("display","none")'></i>
			<b class="gray">建议主题:</b><p class="mt_10 m_10 gray indent" id='title'>客服态度不好，而且发货速度太慢了</p>
			<b class="gray">建议内容</b>:<p class="mt_10 m_10 gray indent" id='content'>客服态度不好，而且发货速度太客服态度不好，而且发货速度太客服态度不好，而且发货速度太客服态度不好，而且发货速度太</p>
			<span id='re_info'>
			<hr class="dashed" />
			<b class="orange" id='admin'>兜兜数码商城</b> 在 [<span class="gray" id='re_time'>2011-01-14 14:30</span>] 回复:<p class="gray indent mt_10" id='re_content'></p></td></span>
        </tr>
        </tbody>
        <tfoot><tr><td colspan="3" class="t_l"><div class='pages_bar'><a href='/index.php?controller=ucenter&action=complain&page=1' >首页</a><a href='/index.php?controller=ucenter&action=complain&page=0' >尾页</a><span>当前第1页/共0页</span></div></td></tr></tfoot>
    </table>
    <div  class="orange_box">
    <form action="/index.php?controller=ucenter&action=complain_edit" method="post" >
    <table class="form_table" width="100%" cellpadding="0" cellspacing="0">
        <col width="120px" />
        <col />
        <caption>建议信息：</caption>
        <tr>
            <th>建议标题：</th><td colspan="2"><input name="title" type="text" pattern='required' alt='标题不能为空' class="normal" /><label>*标题不能为空</label></td>
        </tr>
        <tr>
            <th>建议内容：</th><td colspan="2"><textarea name='content' pattern='required' alt=''></textarea></td>
        </tr>
        <tr>
            <th></th><td colspan="2"><label class="btn"><input type="submit" value="我要建议" /></label></td>
        </tr>
    </table>
    </form>
    </div>
<script type="text/javascript">
function show_msg(obj,title,content,admin,re_time,re_content)
{
	var show = '';
	if(re_content=='') show = 'none';
    $('#show_msg').css('display','').insertAfter($(obj).parent().parent());
    $('#show_msg #title').text(title);
    $('#show_msg #content').text(content);
    $('#show_msg #re_info').css('display',show);
    $('#show_msg #admin').text(admin);
    $('#show_msg #re_time').text(re_time);
    $('#show_msg #re_content').text(re_content);

}
</script>


<{/block}>